@import '~@/theme/theme.less';
*{
  margin: 0;
  padding: 0;
}
.home{
  width: 100%;
  background:url("@/assets/images/login.png") no-repeat;
  background-size: 100% 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  overflow: hidden;
  .homtLogin{
    width: 85%;
    max-width: 360px;
    padding: 25px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    .homtLoginTitle{
      text-align: center;
      font-size: 24px;
      font-weight: bold;
      margin-bottom: 30px;
      color: #333;
    }
    .loginForm {
      width: 90%;
      margin: 0 auto;  // 居中显示
      padding: 20px;
      background: rgba(255, 255, 255, 0.8);
      backdrop-filter: blur(10px);
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, 0.3);
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
      .inputWrapper {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
        background: #f8f9fa;
        border-radius: 8px;
        padding: 12px 16px;
        transition: all 0.3s ease;
        &:focus-within {
          background: #fff;
          box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
        }
        .icon {
          font-size: 22px;
          color: #666;
          margin-right: 12px;
        }
        .input {
          flex: 1;
          --background-color: transparent;
          --border-color: transparent;
          --font-size: 16px;
          --placeholder-color: #999;
          --text-color: #333;
          --padding-left: 0;
        }
      }
      .roleSelect {
        margin-bottom: 20px;
        padding: 0 8px;
      }
      .loginButton {
        margin-top: 30px;
        height: 45px;
        font-size: 17px;
        font-weight: 500;
        border-radius: 8px;
        background: linear-gradient(to right, #667eea, #764ba2);
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
        &:active {
          transform: translateY(1px);
        }
      }
      .switchForm {
        text-align: center;
        margin-top: 16px;
        color: #666;
        font-size: 14px;
        span {
          color: #667eea;
          margin-left: 4px;
          cursor: pointer;
          &:active {
            opacity: 0.8;
          }
        }
      }
    }
  }
}